﻿/*            Copyright(c) 2006-2008 Dave Sexton           *
 * http://www.codeplex.com/DocProject                      *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace DaveSexton.DocProject.Configuration
{
	public sealed class DependencyElement : ConfigurationElement
	{
		#region Public Properties
		[ConfigurationProperty("name", DefaultValue="", IsRequired = true, IsKey = true)]
		public string Name
		{
			get
			{
				return (string) this["name"];
			}
			set
			{
				this["name"] = value;
			}
		}

		[ConfigurationProperty("assembly", DefaultValue = "", IsRequired = true)]
		public string Assembly
		{
			get
			{
				return (string) this["assembly"];
			}
			set
			{
				this["assembly"] = value;
			}
		}
		#endregion

		#region Private / Protected
		#endregion

		#region Constructors
		/// <summary>
		/// Constructs a new instance of the <see cref="DependencyElement" /> class.
		/// </summary>
		public DependencyElement()
		{
		}
		#endregion
	}
}
